<%@ page contentType="text/html;charset=UTF-8"%>

<jsp:useBean id="department" scope="request" class="department.domain.Department"/>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%@ include file = "menu.jsp" %>
<h2>부서 정보 수정</h2>
<form action="/DepartmentManager/ModifyDepartmentServlet" method="post">
<input type="hidden" name="departmentId" value="<jsp:getProperty property="departmentId" name="department"/>">
<table width="400">
	<tr>
		<td width="100">부서 ID</td>
		<td><jsp:getProperty property="departmentId" name="department"/></td>
	</tr>
	<tr>
		<td>부서명</td>
		<td><input type="text" name="departmentName" value="<jsp:getProperty property="departmentName" name="department"/>"></td>
	</tr>
	<tr>
		<td>지역</td>
		<td><input type="text" name="location" value="<jsp:getProperty property="location" name="department"/>"></td>
	</tr>
	<tr>
		<td colspan="2">
			<input type="submit" value="수정">
			<input type="reset" value="초기화">
		</td>
	</tr>	
</table>
</form>
</body>
</html>